package com.hyst.domain;

import java.util.Date;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.springframework.format.annotation.DateTimeFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
/**
* 实体
*/
@Data
@ApiModel(value = "", description = "")

public class PurchaseCourseView {
	

	@ApiModelProperty(value = "id")
	private Integer id;
	@Id
	@ApiModelProperty(value = "uniqueid")
	private String uniqueid;

	@ApiModelProperty(value = "教材")
	private String material;

	@ApiModelProperty(value = "学生id")
	private String studentId;

	@ApiModelProperty(value = "销售id(负责人)")
	private String sellerId;

	@ApiModelProperty(value = "教师ID")
	private String teacherId;

	@ApiModelProperty(value = "购买时长")
	private Integer hoursEnrolled;

	@ApiModelProperty(value = "剩余时长(暂时保留，也可根据完成时长计算出来)")
	private Integer hoursRemaining;

	@ApiModelProperty(value = "完成时长")
	private Integer lessonsCompleted;

	@ApiModelProperty(value = "状态")
	private Integer state;

	@ApiModelProperty(value = "购买日期")
	private String purchaseDate;

	@ApiModelProperty(value = "is_delete")
	private Integer isDelete;

	@ApiModelProperty(value = "付款方式")
//	@Transient
	private String payMethod;
//	@Transient
	@ApiModelProperty(value = "活动方式")
	private String eventsWay;
//	@Transient
	@ApiModelProperty(value = "课程类型（新报课程、续报课程、补课时）")
	private String type;
//	@Transient
	@ApiModelProperty(value = "备注")
	private String remark;
//	@Transient
	@ApiModelProperty(value = "购买金额")
	private BigDecimal money;
//	@Transient
	@ApiModelProperty(value = "课程级别")
	private String materialLevel;
	
	@ApiModelProperty(value = "外教名字")
	private String teacherName;
//	@Transient
	@ApiModelProperty(value = "课程中文名称")
	private String nameZh;
//	@Transient
	@ApiModelProperty(value = "课程英文名称")
	private String nameEn;
	
	@Transient
	@ApiModelProperty(value = "课程中文名称")
	private String materialNameZh;
	@Transient
	@ApiModelProperty(value = "课程英文名称")
	private String materialNameEn;
	@Transient
	@ApiModelProperty(value = "级别")
	private String levelName;
	@Transient
	@ApiModelProperty(value = "真实名字")
	private String sellerName;
	@Transient
	@ApiModelProperty(value = "登录名")
	private String sellerUname;

	@Transient
	private Integer hoursCompleted;

	// 排序方式
	@Transient
	private String sort = "DESC";

	@Transient
	private int pageNum = 1;

	@Transient
	private int pageSize = Integer.MAX_VALUE;
	
	@ApiModelProperty(value = "学生Name")
	private String studentName;


	@ApiModelProperty(value = "zoomId")
	private String zoomId;

	@ApiModelProperty(value = "email")
	private String email;
	

	@ApiModelProperty(value = "is_pay")
	private String isPay;
//
//	@ApiModelProperty(value = "email")
//	private String email;
}
